package com.huiminpay.merchant.convert;

import com.huiminpay.merchant.entity.App;
import com.huiminpay.merchant.entity.Staff;
import com.yh.merchant.api.dto.AppDTO;
import com.yh.merchant.api.dto.StaffDTO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface StaffConvert {
    StaffConvert INSTANCE = Mappers.getMapper(StaffConvert.class);

    StaffDTO entity2Dto(Staff staff);

    Staff dto2Entity(StaffDTO staffDTO);


}
